package com.hertz.iris.view.alert;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.hertz.iris.dao.NormalAlarmDao;

public class NormalAlarmRec extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
//		AlarmAlertWakeLock.acquire(context);
		Intent it=new Intent(context,NormalAlarmAlertActivity.class);
		it.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		it.putExtra(NormalAlarmDao.TABLENAME, intent.getSerializableExtra(NormalAlarmDao.TABLENAME));
		context.startActivity(it);
	}

}
